<template>
	<view>
		<view class='margin-xl bg-white padding-xl radius shadow-lg'>
			<view class='margin-bottom text-lg  text-grey'>蛋黄派对象欢迎您</view>
		</view>
		<view class='margin-xl bg-white padding-xl radius shadow-lg' v-if="red_book_id != ''">
			<view class='margin-bottom text-lg  text-grey'>填写资料前往: {{edit_profile_site}}</view>
			<view class='margin-bottom text-lg  text-grey'>为了方便你的使用，请添加：</view>
			<view class='margin-bottom text-lg  text-red'>小红书号：{{red_book_id}}</view>
		</view>
	</view>
</template>

<script>
	import { systemInfo } from '../../api/system.js';
	export default {
		data() {
			return {
				red_book_id:'',
				edit_profile_site:''
			};
		},
		onLoad() {
			systemInfo().then(res => {
				if (res.red_book_id != undefined) {
					this.red_book_id = res.red_book_id
				}
				if (res.edit_profile_site != undefined) {
					this.edit_profile_site = res.edit_profile_site
				}
			}).catch(err => {
				console.log(err)
			});
		}
	}
</script>

<style>

</style>
